package com.bgs.travelapp.userRealBinds.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Data
@Table(name = "user_real_binds")
public class UserRealBindsEntity {

    @Id
    private Integer id;

    // 真实名字
    private String realName;

    // 身份证
    private String identity;

    // 手机号
    private String phone;

    // 绑定账号id
    private Integer userId;

    // 订单状态 是否删除、0未删除/1删除
    private Integer delFlag;

    // 游客类型Id
    private Integer passengerTypeId;

    // 证件类型Id
    private Integer papersTypeId;

    //创建时间
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;

    // 修改时间
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

}
